//
//  NoteModel.m
//  便签
//
//  Created by  on 2022/9/29.
//

#import "NoteModel.h"

@implementation NoteModel
+ (NSArray *)bg_unionPrimaryKeys
{
    return @[@"account",@"ID"];
}

- (NSString *)font{
    if (!_font) {
        _font = @"14";
    }
    return _font;
}
- (NSString *)weather{
    if (!_weather) {
        _weather = @"白多云";
    }
    return _weather;
}
- (NSString *)hexcolor{
    if (!_hexcolor) {
        _hexcolor = @"#000000";
    }
    return _hexcolor;
}
- (NSInteger)stamp{
    if (!_stamp) {
        _stamp = [[NSDate currentTimeStamp:@"yyyy/MM/dd hh:mm:ss"] integerValue];
    }
    return _stamp;
}
- (NSMutableArray *)data{
    if (!_data) {
        _data = [NSMutableArray array];
    }
    return _data;
}
@end
